package cn.dakaqi.services.user;

import cn.dakaqi.entities.user.VolunteerInsurance;
import cn.dakaqi.utils.exception.ServiceRuntimeException;

/**
 * Created by chunyang on 2016/4/19.
 */
public interface VolunteerInsuranceService
{
    void create(String param)throws ServiceRuntimeException;
    VolunteerInsurance save(VolunteerInsurance volunteerInsurance)throws ServiceRuntimeException;
    VolunteerInsurance findByVolunteerCode(String volunteerCode)throws ServiceRuntimeException;
    VolunteerInsurance findByVolunteerCodeAndStatus(String volunteerCode, int status)throws ServiceRuntimeException;
    void applyInsurance(String volunteerCode, String guardianName, String guardianIDCard, String guardianMobile);
}
